package com.yidu.ladder.delivery.domain;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 包装信息实体类
 * @author ld
 *
 */
public class PackInfo implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -60307763180370818L;
	
	
	/**
	 * 种类Id
	 */
	private String infoId;
	
	/**
	 * 单位
	 */
	private String company; 
	
	/**
	 * 包装项目
	 */
	private String packaingProject;
	
	/**
	 * 规格
	 */
	private String specifications;
	
	/**
	 * 等级
	 */
	private String grade;
	
	/**
	 * 服务费
	 */
	private BigDecimal serviceCharge;
	
	/**
	 * 数量
	 */
	private Integer number;
	
	/**
	 * 材料费
	 */
	private BigDecimal materialCost;
	
	/**
	 * 无参数的构造方法
	 */
	public PackInfo() {}

	/**
	 * 带参数的构造方法
	 * @param infoId 种类Id
	 * @param company 单位
	 * @param packaingProject 包装项目
	 * @param specifications 规格
	 * @param grade 等级
	 * @param serviceCharge 服务费
	 * @param number 数量
	 * @param materialCost 材料费
	 */
	public PackInfo(String infoId, String company, String packaingProject, String specifications, String grade,
			BigDecimal serviceCharge, Integer number, BigDecimal materialCost) {
		super();
		this.infoId = infoId;
		this.company = company;
		this.packaingProject = packaingProject;
		this.specifications = specifications;
		this.grade = grade;
		this.serviceCharge = serviceCharge;
		this.number = number;
		this.materialCost = materialCost;
	}
	
	/**
	 * 获得种类Id
	 * @return
	 */
	public String getInfoId() {
		return infoId;
	}

	/**
	 * 为种类Id赋值
	 * @param infoId
	 */
	public void setInfoId(String infoId) {
		this.infoId = infoId;
	}

	/**
	 * 获得单位
	 * @return
	 */
	public String getCompany() {
		return company;
	}

	/**
	 * 为单位赋值
	 * @param company
	 */
	public void setCompany(String company) {
		this.company = company;
	}

	/**
	 * 获得包装项目
	 * @return
	 */
	public String getPackaingProject() {
		return packaingProject;
	}

	/**
	 * 为包装项目赋值
	 * @param packaingProject
	 */
	public void setPackaingProject(String packaingProject) {
		this.packaingProject = packaingProject;
	}

	/**
	 * 获得规格
	 * @return
	 */
	public String getSpecifications() {
		return specifications;
	}

	/**
	 * 为规格赋值
	 * @param specifications
	 */
	public void setSpecifications(String specifications) {
		this.specifications = specifications;
	}

	/**
	 * 获得等级
	 * @return
	 */
	public String getGrade() {
		return grade;
	}

	/**
	 * 为等级赋值
	 * @param grade
	 */
	public void setGrade(String grade) {
		this.grade = grade;
	}

	/**
	 * 获得服务费
	 * @return
	 */
	public BigDecimal getServiceCharge() {
		return serviceCharge;
	}

	/**
	 * 为服务费赋值
	 * @param serviceCharge
	 */
	public void setServiceCharge(BigDecimal serviceCharge) {
		this.serviceCharge = serviceCharge;
	}

	/**
	 * 获得数量
	 * @return
	 */
	public Integer getNumber() {
		return number;
	}

	/**
	 * 为数量赋值
	 * @param number
	 */
	public void setNumber(Integer number) {
		this.number = number;
	}

	/**
	 * 获得材料费
	 * @return
	 */
	public BigDecimal getMaterialCost() {
		return materialCost;
	}

	/**
	 * 为材料费赋值
	 * @param materialCost
	 */
	public void setMaterialCost(BigDecimal materialCost) {
		this.materialCost = materialCost;
	}
	
	/**
	 * 重写toString的方法
	 */
	@Override
	public String toString() {
		return "PackInfo [infoId=" + infoId + ", company=" + company + ", packaingProject=" + packaingProject
				+ ", specifications=" + specifications + ", grade=" + grade + ", serviceCharge=" + serviceCharge
				+ ", number=" + number + ", materialCost=" + materialCost + "]";
	}
}
